package command.login;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import command.ICommand;

public class DeslogarCommand implements ICommand{

	@Override
	public String execute(HttpServletRequest request) throws ServletException,IOException {
		HttpSession session = request.getSession();
		session.invalidate();
		return "/logar.jsp";
		
		
	}

}
